#
# Be sure to run `pod lib lint SQEventMoudle.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#pod lib lint --sources='http://git.17gwx.com/iOS_lib/Lib.git,http://git.17gwx.com/iOS/SQSpecs.git,https://gitee.com/sqkb-ios/sqspecs.git' --allow-warnings  --verbose --use-static-frameworks --skip-import-validation

Pod::Spec.new do |s|
  s.name             = 'SQEventMoudle'
  s.version          = '0.1.7'
  s.summary          = '替换为网络库0.1.5'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long long description of the pod here.
                       DESC

  s.homepage         = 'http://git.17gwx.com/iOS_lib/SQEventMoudle'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'laohei' => 'laohei@ibantang.com' }
  s.source           = { :git => 'http://git.17gwx.com/iOS_lib/SQEventMoudle.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  s.source_files = 'SQEventMoudle/Classes/**/*'
#   s.subspec 'Core' do |core|
#      core.source_files = 'SQEventMoudle/Classes/core/**/*'
#    end
#   s.subspec 'Model' do |model|
#      model.source_files = 'SQEventMoudle/Classes/Model/**/*'
#    end
#   s.subspec 'SQEventManager' do |sqevent|
#      sqevent.source_files = 'SQEventMoudle/Classes/SQEventManager/**/*'
#    end
#   s.subspec 'StatisticalAnalysis' do |analysis|
#      analysis.source_files = 'SQEventMoudle/Classes/StatisticalAnalysis/**/*'
#      analysis.ios.dependency 'SQEventMoudle/Core'
#      analysis.ios.dependency 'SQEventMoudle/Model'
#      analysis.ios.dependency 'SQEventMoudle/SQEventManager'
#    end
   
  s.prefix_header_contents = '#import "SQFoundationSafeHeader.h"'
  # s.resource_bundles = {
  #   'SQEventMoudle' => ['SQEventMoudle/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
#   s.dependency 'UMCAnalytics', '~> 6.0.5'

#   s.dependency 'AFNetworking'
   s.dependency 'SQNetworkLibrary/TrackNetwork'
   s.dependency 'SQToolsLibrary'
   s.dependency 'BTNetworkReachabilityManager'
   s.dependency 'SQWCDB'
   s.dependency 'YYModel'
   s.dependency 'SQBusCommon'
#   s.vendored_framework  = 'SQEventMoudle/framework/wcdb/*.framework'
#   s.static_framework = true



if ENV['push'] == "1"
    puts '-----------------------提交本地pod---------------------------------------'
    dev_url = "./"+s.name
    puts Dir.pwd
    system 'git add .'
    system "git commit -m 'pod 提交'"
    system 'git push origin master'
    puts '--------------------------结束-----------------------------------------'
end

end
